package cn.com.thingo.hyintelligent.base.contract;

import cn.com.thingo.hyintelligent.base.BasePresenter;
import cn.com.thingo.hyintelligent.base.BaseView;
import cn.com.thingo.hyintelligent.model.bean.CommonBean;

public interface ForgetPasswordContract {
    interface View extends BaseView {
        void viewGetCode(CommonBean commonBean);

        void viewModifyPassword(CommonBean commonBean);
    }

    interface Presenter extends BasePresenter<ForgetPasswordContract.View> {
        void getCodeByModifyPassword(String telephone);

        void modifyPassword(String password, String telephone, String code);
    }
}
